<template>
  <br />
  <div>
    <div style="margin-bottom: 10px">
      <z-mentions v-model:value="value1" placeholder="this is disabled Mentions" disabled>
        <z-mentions-option v-for="value in options" :key="value" :value="value">
          {{ value }}
        </z-mentions-option>
      </z-mentions>
    </div>
    <z-mentions v-model:value="value2" placeholder="this is readOnly a-mentions" readonly>
      <z-mentions-option v-for="value in options" :key="value" :value="value">
        {{ value }}
      </z-mentions-option>
    </z-mentions>
  </div>
</template>

<script>
import { defineComponent, ref } from 'vue'

export default defineComponent({
  setup() {
    const value1 = ref('')
    const value2 = ref('')
    const options = ref(['afc163', 'zombieJ', 'yesmeck'])
    return {
      value1,
      value2,
      options
    }
  }
})
</script>
